<{include file="app/header.tpl"}>
<{foreach from=$order.arrGoodsInfo item="goods"}>
<div class="order-detail-header">

    <div class="left"><img class="img" src="<{$goods.goods.thumbsrc}>"></div>
    <div class="right">
                <p class="line"><{$goods.goods.name}></p>
                <p class="line"><{$goods.goods.attr.desc}></p>
                <p class="line">￥<{$goods.price/100|number_format:2}> x <{$goods.quantity}>件</p></div>

</div>
<{/foreach}>

<div class="order-detail-xijie">

   <p class="line">下单时间: <{"Y-m-d H:i:s"|@date:$order.created}></p>
   <p class="line">订单编号: <{$order.orderNo}></p>
   <p class="line">订单金额: <span class="red">￥<{$order.moneyTotal/100|number_format:2}></span><span class="gray"> &nbsp; &nbsp;(含运费: ￥<{$order.moneyDeliver/100|number_format:2}>)</span></p>
   <p class="line">买家备注: <{$order.commentsUser}></p>
</div>

<!--
<div class="order-detail-xinxi">

    <p class="line">收货人: <{$order.addrUserName}> <{$order.addrTelNumber}></p>
    <p class="line">收货地址: <{$order.addrDetailInfo}></p>
    <p class="line">运送方式: <{$order.deliverName}>(费用: ￥<{$order.moneyDeliver/100|number_format:2}>)</p>

</div>
-->

<div class="order-detail-status">
    <h3 class="title">订单状态: <{$order.statusName}></h3>
    <{if $order.status == 0}>
        <{if $order.uid == $global_user.userUid}>
            <p>分享到你的朋友圈，微信好友。让他/她替你付款吧</p>
        <{else}>
        <p class="line"><a href="/payment/weixin/order?orderNo=<{$order.orderNo}>">替他/她付款</a></p>
        <{/if}>
    <{/if}>
</div>

<{include file="app/footer.tpl"}>
